




/*
*************************************************************************
*西瑞克斯研发管理系统
*版 本: 1.0   
*日 期：02/08/2012    
*作 者： 王浩 QQ：873987060   
*************************************************************************   
*/ 
package com.application.research2dycs.service;
import java.util.List;
import com.manager.BaseService;
import com.manager.commons.page.PageBean;
import com.application.research2dycs.entity.Research2dycs;
import com.application.research2dycs.struts.form.Research2dycsForm;
import com.application.research2dycs.dao.Research2dycsDAO;
 /**
 * 
 * Description:Research2dycsService<br />
 * 
 * Version:V0.1<br />
 * 
 * Author: 左磊 QQ：30575951    <br />
 * 
 * History: <br />
 * 
 * 02/08/2012 
 * 
 */
public class Research2dycsService extends BaseService
{
	private Research2dycsDAO research2dycsDAO;

	public Research2dycsDAO getResearch2dycsDAO() {
		return this.research2dycsDAO;
	}

	public void setResearch2dycsDAO(Research2dycsDAO research2dycsDAO) {
		this.research2dycsDAO = research2dycsDAO;
	}
        

        public Research2dycs getResearch2dycs(Research2dycs research2dycs) {
		return (Research2dycs) this.getBaseDao().queryByPk(research2dycs, research2dycs.getId());
	}
	
	public Integer getAllCountResearch2dycs(Research2dycsForm research2dycsForm){
		return this.research2dycsDAO.getAllCountResearch2dycs(research2dycsForm);
	}
	
	public List<Research2dycs> searchResearch2dycs(Research2dycsForm research2dycsForm, PageBean pageBean) throws Exception {
		List<Research2dycs> research2dycsList = (List) this.research2dycsDAO.searchResearch2dycs(research2dycsForm, pageBean);
		return research2dycsList;
	}
        
        public void deleteResearch2dycss(Research2dycsForm research2dycsForm){
	   this.research2dycsDAO.deleteResearch2dycss(research2dycsForm);	 
	}
        public List searchResearch2dycs(final Research2dycsForm research2dycsForm) {
    		List<Research2dycs> research2dycsList = (List) this.research2dycsDAO.searchResearch2dycs(research2dycsForm);
    		return research2dycsList;
    	}
}
